package com.zhu.bitcom.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhu.bitcom.pojo.UserInfo;
import com.zhu.bitcom.pojo.VO.LoginVo;
import com.zhu.bitcom.pojo.VO.RegisterVo;
import com.zhu.bitcom.utils.Result;

public interface IUserInfoService extends IService<UserInfo> {
    Result<String> userRegister(RegisterVo registerVo);

    Result<SaTokenInfo> userLogin(LoginVo loginVo);

    Result<UserInfo> getUserInfo();

    //UserInfo findByUserName(String );
}
